package com.demo.simple;

import com.dangdang.ddframe.job.api.ShardingContext;
import com.dangdang.ddframe.job.api.simple.SimpleJob;

public class SimpleDemoJob implements SimpleJob {
    public void execute(ShardingContext context) {
        int item  = context.getShardingItem();
        System.out.println("处理item为" + item + "的数据");

    }
}
